package com.zerous.framework;

public class Point
{
	int x, y;
	public Point(int x, int y)
	{
		this.x = x;
		this.y = y;
	}
	
	public Point(Vector2 v)
	{
		this.x = v.x.intValue();
		this.y = v.y.intValue();
	}
	
	public void set(int X, int Y)
	{
		x = X;
		y = Y;
	}

	@Override
	public String toString()
	{
		// TODO: Implement this method
		return "(" + x + "," + y +")";
	}
	
	public Point copy()
	{
		return new Point(x, y);
	}

	public int getX()
	{
		return x;
	}

	public int getY()
	{
		return y;
	}
}
